<page-header [title]="'点击【保存】按钮保存当前页面修改，当前商品【'+title+'】'"></page-header>
<nz-card>
  <nz-tabset [nzSelectedIndex]="goodsService.step" (nzSelectedIndexChange)="indexChange($event)">
    <nz-tab [nzTitle]="'商品基础信息'" >
      <nz-spin *ngIf="isLoading" class="modal-spin"></nz-spin>
      <app-step1 #step0  [(title)]="title" *ngIf="!isLoading && goodsService.step==0"></app-step1>
    </nz-tab>
    <nz-tab [nzTitle]="'商品轮播图'">
      <nz-spin *ngIf="isLoading" class="modal-spin"></nz-spin>
      <app-step2 #step1 [imgList]="imgList" *ngIf="!isLoading && goodsService.step==1"></app-step2>
    </nz-tab>
    <nz-tab [nzTitle]="'商品-渠道价格'">
      <nz-spin *ngIf="isLoading" class="modal-spin"></nz-spin>
      <app-step3 #step2 [levelOptions]="levelOptions" [goodsPricesOptions]="goodsPricesOptions" *ngIf="!isLoading && goodsService.step==2"></app-step3>
    </nz-tab>
  </nz-tabset>
</nz-card>
